package com.chx.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author cp-月入过万
 * @Date 2025/5/30
 */
@Data
public class ProductDto implements Serializable {

    @ApiModelProperty("商品id")
    private Long productId;

    @ApiModelProperty("商品编码")
    private String productCode;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("商品类别")
    private Long categoryId;

    @ApiModelProperty("供应商id")
    private Long supplierId;

    @ApiModelProperty("规格")
    private String specification;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("进价")
    private Double purchasePrice;

    @ApiModelProperty("售价")
    private Double salePrice;

    @ApiModelProperty("库存数量")
    private Long stockQuantity;

    @ApiModelProperty("库存下限")
    private Long minStock;

    @ApiModelProperty("库存上限")
    private Long maxStock;

    @ApiModelProperty("商品描述")
    private String description;
}
